import './assets/css/index.less'
import 'normalize.css'
import Store from './stores'
import { createApp } from 'vue'

// 引入element-plus 图标库
import * as ElementPlusIconsVue from '@element-plus/icons-vue'



import App from './App.vue'
import router from './router'

const app = createApp(App)

// 全局注册element-plus 图标库
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component)
}

app.use(Store) // 刷新页面后执行的store
app.use(router)
app.mount('#app')
